package com.danciyixue.boot.dcyx.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.TestRecords;
import com.danciyixue.boot.dcyx.model.form.TestRecordsForm;

/**
 * 测试结果记录对象转换器
 *
 * @author youlaitech
 * @since 2025-06-15 16:31
 */
@Mapper(componentModel = "spring")
public interface TestRecordsConverter{

    TestRecordsForm toForm(TestRecords entity);

    TestRecords toEntity(TestRecordsForm formData);
}